import { createStore } from 'vuex'

const store = createStore({
    state: {
        count: 11,
        title: "这是store存储的数据！",
        name: "你好啊vuex！"
    },
    getters: {
        //
    },
    mutations: {
        increment (state) {
            state.count++
        }
    },
    actions: {
        //
    }

})

export default store;